﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CrmContacto.Contracts.Promociones
{
    [Serializable]
    [DataContract]
    public class ParticipantesSearch
    {
        public ParticipantesSearch()
        {
            KeyValues = new Dictionary<string, string>();
            EmailList = new List<string>();
        }

        [DataMember]
        public int EmpresaId { get; set; }

        [DataMember]
        public int PromocionId { get; set; }

        [DataMember]
        public DateTime? Desde { get; set; }

        [DataMember]
        public DateTime? Hasta { get; set; }

        [DataMember]
        public bool? AplicaCuponId { get; set; }

        [DataMember]
        public List<string> EmailList { get; set; }

        [DataMember]
        public int PageSkip { get; set; }

        [DataMember]
        public int PageSize { get; set; }

        [DataMember]
        public string SortingField { get; set; }

        [DataMember]
        public bool SortIsAsc { get; set; }

        [DataMember]
        public Dictionary<string, string> KeyValues { get; set; }
    }
}
